﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace IdentityMine.Windows.Eventing
{
    // Summary:
    //     Indicates the routing strategy of a routed event.
    public enum RoutingStrategy
    {
        // Summary:
        //     The routed event uses a tunneling strategy, where the event instance routes
        //     downwards through the tree, from root to source element.
        Tunnel = 0,
        //
        // Summary:
        //     The routed event uses a bubbling strategy, where the event instance routes
        //     upwards through the tree, from event source to root.
        Bubble = 1,
        //
        // Summary:
        //     The routed event does not route through an element tree, but does support
        //     other routed event capabilities such as class handling, System.Windows.EventTrigger
        //     or System.Windows.EventSetter.
        Direct = 2,
    }
}
